/* Layout */
import Layout from "@/layout/index.vue";

export default {
    path: "/member/audio",
    component: Layout,
    redirect: "noRedirect",
    meta: { title: "音频创作中心", icon: "icon_memo", roles: ["九条米法"] },
    children: [
        {
            path: "dashboard",
            meta: { title: "数据中心", icon: "dashboard" },
        },
        {
            path: "classify",
            name: "audioArchiveClassify",
            component: () => import("@/views/audioArchiveClassify/index.vue"),
            meta: { title: "分类管理", icon: "tree" },
        },
        {
            path: "archive/manager",
            name: "audioArchiveManager",
            component: () => import("@/views/audioArchiveManager/index.vue"),
            meta: { title: "稿件管理", icon: "table" },
        },
        {
            path: "archive/uploader",
            name: "audioArchiveUploader",
            hidden: true,
            component: () => import("@/views/audioArchiveEditor/index.vue"),
            meta: { title: "音频投稿", icon: "form" },
        },
        {
            path: "audio/editor",
            name: "archiveAudioEditor",
            hidden: true,
            component: () => import("@/views/audioArchiveEditor/index.vue"),
            meta: { title: "稿件编辑", icon: "form" },
        },
    ]
}